package com.wxd;

public class javaBase {
    private Integer age;
    public String name ;
    public Integer x = 888;

    private  void study(){
        System.out.println("A love study ");
    }

    public void studyDaily(){
        System.out.println("A love studyDaily ");

    }
}
class B extends javaBase{
    //public Integer x = 666;

    public void studyDaily(){
        System.out.println("B love studyDaily ");

    }
    public static void main(String[] args) {
        B b = new B();
        b.studyDaily();
        System.out.println(b.x);
        System.out.println("新加的文字");

    }
}




